package com.common.requestvo.system;

import com.common.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 用户查询 Vo
 *
 * @author johnny
 * @create 2020-07-13 下午4:53
 **/
@Data
@ApiModel(value = "用户查询对象")
public class UserReqVo extends BaseVo {

    @ApiModelProperty(value = "用户账号", example = "johnny")
    private String username;
    @ApiModelProperty(value = "用户密码")
    private String password;
    /**
     * 性别
     */
    @ApiModelProperty(value = "性别", example = "0")
    private Integer gender;

    @ApiModelProperty(value = "手机号", example = "110")
    private String phone;

    @ApiModelProperty(value = "邮箱", example = "626142589@qq.com")
    private String email;

    @ApiModelProperty(value = "头像")
    private String headImage;

    @ApiModelProperty(value = "账号是否有效", example = "true")
    private Boolean enable;

    @ApiModelProperty(hidden = true)
    private List<Long> roleIds;
    @ApiModelProperty(hidden = true,example = "1")
    private Long personalId;

}